package com.abel.quiz.dao;

import com.abel.quiz.dao.BaseDao;
import com.abel.quiz.po.OptionsPo;
import com.abel.quiz.po.OptionsPoCriteria;
import java.util.List;

import org.apache.ibatis.annotations.Param;

/**
* @author abel.lin
* @date_time 2017-08-08 20:18
* @description
*/
public interface OptionsPoDao extends BaseDao<OptionsPo, OptionsPoCriteria>{

    int countByExample(OptionsPoCriteria example);
    
    int deleteByExample(OptionsPoCriteria example);
    
    int deleteByPrimaryKey(String id);
    
    int insert(OptionsPo record);
    
    int insertSelective(OptionsPo record);
    
    List<OptionsPo> selectByExample(OptionsPoCriteria example);

    OptionsPo selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") OptionsPo record, @Param("example") OptionsPoCriteria example);

    int updateByExample(@Param("record") OptionsPo record, @Param("example") OptionsPoCriteria example);

    int updateByPrimaryKeySelective(OptionsPo record);

    int updateByPrimaryKey(OptionsPo record);
}